package com.hmall.api.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageQueryDTO {
        public static final Integer DEFAULT_PAGE_SIZE = 20;
        public static final Integer DEFAULT_PAGE_NUM = 1;
        private Integer pageNo = DEFAULT_PAGE_NUM;
        private Integer pageSize = DEFAULT_PAGE_SIZE;
        private Boolean isAsc = true;
        private String sortBy;
}
